﻿package com.eitb.literales{
	import com.eitb.literales.Literales;
	public class ControlesLiterales extends Literales {
		private const MAX_IDIOMAS:int = 4;
		private const MAX_LITERALES:int = 5;
		public static  const VOLUMEN:int = 0;
		public static  const PAUSE:int = 1;
		public static  const PLAY:int = 2;
		public static  const STOP:int = 3;
		public static  const MAXIMIZE:int = 4;
		public function ControlesLiterales(idioma:int):void {
			super(idioma);
			super.setLiterales(new Array(this.MAX_IDIOMAS));
			switch (idioma) {
				case Literales.EN :
					super.getLiterales()[Literales.EN] = new Array(this.MAX_LITERALES);
					super.getLiterales()[Literales.EN][ControlesLiterales.VOLUMEN] = "Volume";
					super.getLiterales()[Literales.EN][ControlesLiterales.PAUSE] = "Pause";
					super.getLiterales()[Literales.EN][ControlesLiterales.PLAY] = "Play";
					super.getLiterales()[Literales.EN][ControlesLiterales.STOP] = "Stop";
					super.getLiterales()[Literales.EN][ControlesLiterales.MAXIMIZE] = "Maximize";
					break;
				case Literales.ES :
					super.getLiterales()[Literales.ES] = new Array(this.MAX_LITERALES);
					super.getLiterales()[Literales.ES][ControlesLiterales.VOLUMEN] = "Volumen";
					super.getLiterales()[Literales.ES][ControlesLiterales.PAUSE] = "Pausar";
					super.getLiterales()[Literales.ES][ControlesLiterales.PLAY] = "Ver";
					super.getLiterales()[Literales.ES][ControlesLiterales.STOP] = "Parar";
					super.getLiterales()[Literales.ES][ControlesLiterales.MAXIMIZE] = "Ampliar";
					break;
				case Literales.EU :
					super.getLiterales()[Literales.EU] = new Array(this.MAX_LITERALES);
					super.getLiterales()[Literales.EU][ControlesLiterales.VOLUMEN] = "Bolumena";
					super.getLiterales()[Literales.EU][ControlesLiterales.PAUSE] = "Pausatu";
					super.getLiterales()[Literales.EU][ControlesLiterales.PLAY] = "Ikusi";
					super.getLiterales()[Literales.EU][ControlesLiterales.STOP] = "Gelditu";
					super.getLiterales()[Literales.EU][ControlesLiterales.MAXIMIZE] = "Handitu";
					break;
				case Literales.FR :
					super.getLiterales()[Literales.FR] = new Array(this.MAX_LITERALES);
					super.getLiterales()[Literales.FR][ControlesLiterales.VOLUMEN] = "Volume";
					super.getLiterales()[Literales.FR][ControlesLiterales.PAUSE] = "Pause";
					super.getLiterales()[Literales.FR][ControlesLiterales.PLAY] = "Voir";
					super.getLiterales()[Literales.FR][ControlesLiterales.STOP] = "Stop";
					super.getLiterales()[Literales.FR][ControlesLiterales.MAXIMIZE] = "Agrandir";
					break;
			}
		}
	}
}
